package org.cyberz.jsm;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * An annotation to execute a method when entering a state.
 * 
 * @author Andrea Leofreddi
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface FsmOnEnteringState {
	String value();
}
